/* jQuery treeTable stylesheet
 *
 * This file contains styles that are used to display the tree table. Each tree
 * table is assigned the +treeTable+ class.
 * ========================================================================= */

/* jquery.treeTable.collapsible
 * ------------------------------------------------------------------------- */
 .treeTable tr th{
 	height: 24px;
 	line-height: 20px;
 	background: rgb(138,193,223);
 }
 .treeTable tr td{
 	height: 20px;
 	border-bottom: 1px #ccc dotted;
 }

.treeTable tr td .expander {
  cursor: pointer;
  padding: 0;
  zoom: 1; /* IE7 Hack */
}

.treeTable tr td a.expander {
  background-position: left center;
  background-repeat: no-repeat;
  color: #000;
  text-decoration: none;
}

.treeTable tr.collapsed td a.expander {
  background-image: url(../images/toggle-expand-dark.png);
  padding-top: 0;
  margin-top: 0px;
  
}

.treeTable tr.expanded td a.expander {
  background-image: url(../images/toggle-collapse-dark.png);
}

/* jquery.treeTable.sortable
 * ------------------------------------------------------------------------- */
.treeTable tr.selected, .treeTable tr.accept {
  background-color: #3875d7;
}

.treeTable tr.selected a.expander, .treeTable tr.accept a.expander {
  color: #fff;
}

.treeTable tr.collapsed.selected td a.expander, .treeTable tr.collapsed.accept td a.expander {
  background-image: url(../images/toggle-expand-light.png);
}

.treeTable tr.expanded.selected td a.expander, .treeTable tr.expanded.accept td a.expander {
  background-image: url(../images/toggle-collapse-light.png);
}

.treeTable .ui-draggable-dragging {
  color: #000;
  z-index: 1;
}

/* Layout helper taken from jQuery UI. This way I don't have to require the
 * full jQuery UI CSS to be loaded. */
.ui-helper-hidden { display: none; }


/* .treeTable
 * ========================================================================= */
.treeTable {
  border: 1px solid #888;
  border-collapse: collapse;
  line-height: 1;
  margin:0px;
  width: 100%;
}

/* Caption
 * ------------------------------------------------------------------------- */
.treeTable caption {
 font-size: 12px;
 	font-family: '宋体';
 	font-weight: normal;
 	text-align: left;
}

/* Header
 * ------------------------------------------------------------------------- */
.treeTable thead {
  background: #aaa url(../images/bg-table-thead.png) repeat-x top left;
  font-size: .9em;
}

.treeTable thead tr th {
  font-weight: normal;
  padding: .3em 1.67em .1em 1.67em;
  text-align: left;
}

/* Body
 * ------------------------------------------------------------------------- */
.treeTable tbody tr td {
  cursor: default;
  padding: .3em 1.5em;
  font-size: 12px;
}

.treeTable tbody tr.even {
  background: #f3f3f3;
}

.treeTable tbody tr.odd {
  background: #fff;
}

.treeTable span {
  background-repeat: no-repeat;
  background-image: url(../images/coloricons-sprite.png);
   font-size: 12px;
   padding: 0px;
   padding-left: 20px;
}

.treeTable span.file {
  background-position: 0px -64px;
}

.treeTable span.folder {
   background-position: 0px 0px;
}